]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Fix style
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 30 Dec 2012 16:25:28 +0000 (11:25 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 30 Dec 2012 19:09:39 +0000 (14:09 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=680414

js/ui/notificationDaemon.js

index ff421f6b5e0deaf5d9dfd80e16d880ed69e1f87f..ff6c25f06eac66807a0ab15a02282b70824b44ea 100644 (file)
@@ -139,9 +139,9 @@ const NotificationDaemon = new Lang.Class({
         if (icon) {
             if (icon.substr(0, 7) == 'file://')
                 return new Gio.FileIcon({ file: Gio.File.new_for_uri(icon) });
-            else if (icon[0] == '/') {
+            else if (icon[0] == '/')
                 return new Gio.FileIcon({ file: Gio.File.new_for_path(icon) });
-            } else
+            else
                 return new Gio.ThemedIcon({ name: icon });
         } else if (hints['image-data']) {
             let [width, height, rowStride, hasAlpha,